package basic;

import java.util.Scanner;

public class 数值拆分 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int num = sc.nextInt();
        int hundred = num / 100;
        int ten = num % 100 / 10;
        int one = num % 10;
        System.out.println("百位是" + hundred);
        System.out.println("十位是" + ten);
        System.out.println("个位是" + one);
    }
}
